package com.travelgroup.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum ActivityType implements IEnum<Integer> {

    BREAKFAST(0, "早餐"),
    LUNCH(1, "午餐"),
    DINNER(2, "晚餐"),
    TRAFFIC(3, "交通"),
    ATTRACTION(4, "景点/场馆"),
    HOTEL(5, "酒店"),
    SHOPPING(6, "购物"),
    FREE(7, "自由活动"),
    OTHER(8, "其他");

    @EnumValue
    private final Integer value;
    @JsonValue
    private final String type;
    ActivityType(Integer value, String type) {
        this.value = value;
        this.type = type;
    }
}
